import type { FC } from 'react';
import { View, Text } from 'react-native';
import { createLoadMore } from '@/components';
import styles from './styles';

const LoadMore = createLoadMore();

const Notification: FC = () => {
  return (
    <View style={styles.page}>
      <LoadMore 
        emptyProps={{
          type: 'notify'
        }}
        request={async () => {
          return {
            total: 10,
            list: []
          }
        }}
        renderItem={() => {
          return (
            <View>
              <Text>111</Text>
            </View>
          )
        }}
      />
    </View>
  );
}

export default Notification;